package com.cs.contract.service.impl;

import com.cs.contract.service.CsDeviceService;
import com.cs.contract.domain.CsDevice;
import com.cs.contract.mapper.CsDeviceMapper;
import org.springframework.stereotype.Service;

import java.util.List;


/**
 * @Author：zrx
 * @Package：com.cs.service.impl
 * @Project：RuoYi-Cloud
 * @name：CsDeviceServiceImpl
 * @Date：2024/11/20 17:45
 * @Filename：CsDeviceServiceImpl
 */
@Service
public class CsDeviceServiceImpl implements CsDeviceService {
    private final CsDeviceMapper csDeviceMapper;

    public CsDeviceServiceImpl(CsDeviceMapper csDeviceMapper) {
        this.csDeviceMapper = csDeviceMapper;
    }


    @Override
    public List<CsDevice> listCsDevice(CsDevice csDevice) {
        return csDeviceMapper.listCsDevice(csDevice);
    }

    @Override
    public CsDevice getCsDeviceByTid(String tid) {
        return csDeviceMapper.getCsDeviceByTid(tid);
    }
}
